package lbframework.bean.consultaCampo;

import java.beans.PropertyEditorSupport;

public class TipoPropertyEditor extends PropertyEditorSupport {

    @Override
    public String[] getTags() {
        String values[] = {
            "",
            "Cliente Eventual",
            "Cliente Preferencial",
            "Fornecedor",
            "Motorista",
            "Produto"
        };

        return values;
    }

    @Override
    public String getJavaInitializationString() {
        return "\"" + getValue() + "\"";
    }
}
